200
How do I arrange my columns on multiple lines

with AxList1 do
begin
	HeaderHeight := 32;
	(Columns.Add('') as EXLISTLib.Column).HTMLCaption := 'Line 1<br>Line 2';
end
199
How can I display all cells using HTML format

with AxList1 do
begin
	(Columns.Add('HTML') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCaptionFormat] := TObject(1);
	Items.Add('<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.');
end
198
How can I display all cells using multiple lines

with AxList1 do
begin
	(Columns.Add('MultipleLine') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(False);
	(Columns.Add('SingleLine') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(True);
	with Items do
	begin
		Caption[Add('This is a bit of long text that should break the line'),TObject(1)] := 'this is a bit of long text that''s displayed on a single line';
	end;
end
197
How do change the vertical alignment for all cells in the column

with AxList1 do
begin
	(Columns.Add('MultipleLine') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellSingleLine] := TObject(False);
	(Columns.Add('VAlign') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellVAlignment] := TObject(2);
	with Items do
	begin
		Caption[Add('This is a bit of long text that should break the line'),TObject(1)] := 'bottom';
	end;
	with Items do
	begin
		Caption[Add('This is a bit of long text that should break the line'),TObject(1)] := 'bottom';
	end;
end
196
How do change the foreground color for all cells in the column

with AxList1 do
begin
	(Columns.Add('ForeColor') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellForeColor] := TObject(255);
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
195
How do change the background color for all cells in the column

with AxList1 do
begin
	(Columns.Add('BackColor') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellBackColor] := TObject(255);
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
194
How do I show buttons for all cells in the column

with AxList1 do
begin
	with (Columns.Add('Button') as EXLISTLib.Column) do
	begin
		Def[EXLISTLib.DefColumnEnum.exCellHasButton] := TObject(True);
		Def[Integer(EXLISTLib.DefColumnEnum.exCellHasButton) Or Integer(EXLISTLib.DefColumnEnum.exCellHasRadioButton)] := TObject(True);
	end;
	Items.Add(' Button 1 ');
	Items.Add(' Button 2 ');
end
193
How do I show buttons for all cells in the column

with AxList1 do
begin
	(Columns.Add('Button') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasButton] := TObject(True);
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
192
How do I display radio buttons for all cells in the column

with AxList1 do
begin
	(Columns.Add('Radio') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasRadioButton] := TObject(True);
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
191
How do I display checkboxes for all cells in the column

with AxList1 do
begin
	(Columns.Add('Check') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
190
How can I display a tooltip when the cursor hovers the column

with AxList1 do
begin
	(Columns.Add('tooltip') as EXLISTLib.Column).ToolTip := 'This is a bit of text that is shown when user hovers the column.';
end
189
Is there any function to assign a key to a column instead using its name or capion

with AxList1 do
begin
	(Columns.Add('Data') as EXLISTLib.Column).Key := 'DKey';
	Columns.Item['DKey'].Caption := 'new caption';
end
188
Is there any function to assign any extra data to a column

with AxList1 do
begin
	(Columns.Add('Data') as EXLISTLib.Column).Data := 'your extra data';
end
187
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header

with AxList1 do
begin
	(Columns.Add('Sort') as EXLISTLib.Column).DefaultSortOrder := True;
end
186
How can I specify the maximum width for the column, if I use WidthAutoResize property

with AxList1 do
begin
	with (Columns.Add('Auto') as EXLISTLib.Column) do
	begin
		WidthAutoResize := True;
		MinWidthAutoResize := 32;
		MaxWidthAutoResize := 128;
	end;
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
185
How can I specify the minimum width for the column, if I use WidthAutoResize property

with AxList1 do
begin
	with (Columns.Add('Auto') as EXLISTLib.Column) do
	begin
		WidthAutoResize := True;
		MinWidthAutoResize := 32;
	end;
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
184
Is there any option to resize the column based on its data, captions

with AxList1 do
begin
	(Columns.Add('A') as EXLISTLib.Column).WidthAutoResize := True;
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
183
How can I align the icon in the column's header in the center

with AxList1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('') as EXLISTLib.Column) do
	begin
		HeaderImage := 1;
		HeaderImageAlignment := EXLISTLib.AlignmentEnum.CenterAlignment;
	end;
end
182
How do I align the icon in the column's header to the right

with AxList1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	with (Columns.Add('ColumnName') as EXLISTLib.Column) do
	begin
		HeaderImage := 1;
		HeaderImageAlignment := EXLISTLib.AlignmentEnum.RightAlignment;
	end;
end
181
How do I show or hide the sorting icons, but still need sorting

with AxList1 do
begin
	(Columns.Add('Sorted') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortAscending;
	Columns.Item[TObject(0)].DisplaySortIcon := False;
end
180
How do I enable or disable the entire column

with AxList1 do
begin
	Columns.Add('C1');
	(Columns.Add('Disabled') as EXLISTLib.Column).Enabled := False;
	with Items do
	begin
		Caption[Add(TObject(0)),TObject(1)] := '0.1';
	end;
	with Items do
	begin
		Caption[Add(TObject(1)),TObject(1)] := '1.1';
	end;
end
179
How do I disable drag and drop columns
with AxList1 do
begin
	(Columns.Add('C1') as EXLISTLib.Column).AllowDragging := False;
	(Columns.Add('C2') as EXLISTLib.Column).AllowDragging := False;
end
178
How do I disable resizing a column at runtime

with AxList1 do
begin
	(Columns.Add('Unsizable') as EXLISTLib.Column).AllowSizing := False;
	Columns.Add('C2');
	Columns.Add('C3');
	Columns.Add('C4');
end
177
How can I align the column to the right, and its caption too

with AxList1 do
begin
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		Alignment := EXLISTLib.AlignmentEnum.RightAlignment;
		HeaderAlignment := EXLISTLib.AlignmentEnum.RightAlignment;
	end;
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
176
How can I align the column to the right

with AxList1 do
begin
	(Columns.Add('Column') as EXLISTLib.Column).Alignment := EXLISTLib.AlignmentEnum.RightAlignment;
	Items.Add(TObject(0));
	Items.Add(TObject(1));
end
175
How do I change the column's caption

with AxList1 do
begin
	(Columns.Add('Column') as EXLISTLib.Column).Caption := 'new caption';
end
174
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

with AxList1 do
begin
	set_FormatAnchor(False,'<b><u><fgcolor=880000> </fgcolor></u></b>');
	Columns.Add('Column');
	with Items do
	begin
		CaptionFormat[Add('Just an <a1>anchor</a> element ...'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
	with Items do
	begin
		CaptionFormat[Add('Just another <a2>anchor</a> element ...'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
	Items.Add('next item');
end
173
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

with AxList1 do
begin
	set_FormatAnchor(True,'<b><u><fgcolor=FF0000> </fgcolor></u></b>');
	Columns.Add('Column');
	with Items do
	begin
		CaptionFormat[Add('Just an <a1>anchor</a> element ...'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
	with Items do
	begin
		CaptionFormat[Add('Just another <a2>anchor</a> element ...'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
end
172
Can I change the font for the tooltip

with AxList1 do
begin
	ToolTipDelay := 1;
	ToolTipWidth := 364;
	(Columns.Add('tootip') as EXLISTLib.Column).ToolTip := '<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>';
end
171
Can I change the font for the tooltip

with AxList1 do
begin
	ToolTipDelay := 1;
	with ToolTipFont do
	begin
		Name := 'Tahoma';
		Size := 14;
	end;
	ToolTipWidth := 364;
	(Columns.Add('tootip') as EXLISTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
170
Can I change the order of the buttons in the scroll bar

with AxList1 do
begin
	set_ScrollOrderParts(EXLISTLib.ScrollBarEnum.exHScroll,'t,l,r');
	set_ScrollOrderParts(EXLISTLib.ScrollBarEnum.exVScroll,'t,l,r');
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableBoth;
end
169
The thumb size seems to be very small. Can I make it bigger

with AxList1 do
begin
	ColumnAutoResize := False;
	(Columns.Add('C1') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C2') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C3') as EXLISTLib.Column).Width := 256;
	set_ScrollThumbSize(EXLISTLib.ScrollBarEnum.exHScroll,64);
end
168
How can I display my text on the scroll bar, using a different font

with AxList1 do
begin
	set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exThumbPart,'This is <s><font Tahoma;12> just </font></s> text');
	ColumnAutoResize := False;
	ScrollHeight := 20;
	(Columns.Add('C1') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C2') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C3') as EXLISTLib.Column).Width := 256;
end
167
How can I display my text on the scroll bar, using a different font

with AxList1 do
begin
	set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exThumbPart,'This is just a text');
	get_ScrollFont(EXLISTLib.ScrollBarEnum.exHScroll).Size := 12;
	ColumnAutoResize := False;
	ScrollHeight := 20;
	(Columns.Add('C1') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C2') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C3') as EXLISTLib.Column).Width := 256;
end
166
How can I display my text on the scroll bar

with AxList1 do
begin
	set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exThumbPart,'this is just a text');
	ColumnAutoResize := False;
	(Columns.Add('C1') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C2') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C3') as EXLISTLib.Column).Width := 256;
end
165
How do I enlarge or change the size of the control's scrollbars

with AxList1 do
begin
	ScrollHeight := 18;
	ScrollWidth := 18;
	ScrollButtonWidth := 18;
	ScrollButtonHeight := 18;
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableBoth;
end
164
How do I assign a tooltip to a scrollbar

with AxList1 do
begin
	set_ScrollToolTip(EXLISTLib.ScrollBarEnum.exHScroll,'This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar');
	ColumnAutoResize := False;
	(Columns.Add('C1') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C2') as EXLISTLib.Column).Width := 256;
	(Columns.Add('C3') as EXLISTLib.Column).Width := 256;
end
163
How do I assign an icon to the button in the scrollbar

with AxList1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	set_ScrollPartVisible(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLeftB1Part,True);
	set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLeftB1Part,'<img>1</img>');
	ScrollHeight := 18;
	ScrollButtonWidth := 18;
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableNoHorizontal;
end
162
I need to add a button in the scroll bar. Is this possible

with AxList1 do
begin
	set_ScrollPartVisible(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLeftB1Part,True);
	set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLeftB1Part,'1');
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableNoHorizontal;
end
161
Can I display an additional buttons in the scroll bar

with AxList1 do
begin
	set_ScrollPartVisible(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLeftB1Part,True);
	set_ScrollPartVisible(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLeftB2Part,True);
	set_ScrollPartVisible(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exRightB6Part,True);
	set_ScrollPartVisible(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exRightB5Part,True);
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableNoHorizontal;
end
160
How can I display a custom size picture to a cell or item

with AxList1 do
begin
	DefaultItemHeight := 48;
	Columns.Add('C1');
	with Items do
	begin
		CellPicture[Add('Text'),TObject(0)] := AxList1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	end;
end
159
How can I display a multiple pictures to a cell or item

with AxList1 do
begin
	DefaultItemHeight := 48;
	set_HTMLPicture('pic1','c:\exontrol\images\zipdisk.gif');
	set_HTMLPicture('pic2','c:\exontrol\images\auction.gif');
	Columns.Add('C1');
	with Items do
	begin
		CaptionFormat[Add('<img>pic1</img> Text <img>pic2</img> another text ...'),TObject(0)] := EXLISTLib.CaptionFormatEnum.exHTML;
	end;
end
158
How do I change the column's foreground color for numbers between an interval - Range

with AxList1 do
begin
	with ConditionalFormats.Add('%0 >= 2 and %0 <= 10',Nil) do
	begin
		Bold := True;
		ForeColor := $ff;
		ApplyTo := EXLISTLib.FormatApplyToEnum($1);
	end;
	Columns.Add('N1');
	Columns.Add('N2');
	with Items do
	begin
		Caption[Add(TObject(1)),TObject(1)] := TObject(2);
	end;
	with Items do
	begin
		Caption[Add(TObject(3)),TObject(1)] := TObject(3);
	end;
	with Items do
	begin
		Caption[Add(TObject(10)),TObject(1)] := TObject(11);
	end;
	with Items do
	begin
		Caption[Add(TObject(13)),TObject(1)] := TObject(31);
	end;
	SearchColumnIndex := 1;
end
157
How do I change the item's foreground color for numbers between an interval - Range

with AxList1 do
begin
	ConditionalFormats.Add('%0 >= 2 and %0 <= 10',Nil).ForeColor := $ff;
	Columns.Add('Numbers');
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(10));
	Items.Add(TObject(20));
end
156
How do I change the item's background color for numbers less than a value

with AxList1 do
begin
	ConditionalFormats.Add('%0 < 10',Nil).BackColor := $ff;
	Columns.Add('Numbers');
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(10));
	Items.Add(TObject(20));
end
155
How do I underline the numbers greater than a value

with AxList1 do
begin
	ConditionalFormats.Add('%0 >= 10',Nil).Underline := True;
	Columns.Add('Numbers');
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(10));
	Items.Add(TObject(20));
end
154
How do I highlight in italic the numbers greater than a value

with AxList1 do
begin
	ConditionalFormats.Add('%0 >= 10',Nil).StrikeOut := True;
	Columns.Add('Numbers');
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(10));
	Items.Add(TObject(20));
end
153
How do I highlight in italic the numbers greater than a value

with AxList1 do
begin
	ConditionalFormats.Add('%0 >= 10',Nil).Italic := True;
	Columns.Add('Numbers');
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(10));
	Items.Add(TObject(20));
end
152
How do I highlight in bold the numbers greater than a value

with AxList1 do
begin
	ConditionalFormats.Add('%0 >= 10',Nil).Bold := True;
	Columns.Add('Numbers');
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(10));
	Items.Add(TObject(20));
end
151
Can I use your EBN files to change the visual appearance for radio buttons

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_RadioImage(False,16777216);
	set_RadioImage(True,33554432);
	(Columns.Add('Radio') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasRadioButton] := TObject(True);
	with Items do
	begin
		Add('Radio 1');
		CellState[Add('Radio 2'),TObject(0)] := 1;
		Add('Radio 3');
	end;
end
150
Can I use your EBN files to change the visual appearance for checkbox cells

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_CheckImage(EXLISTLib.CheckStateEnum.Unchecked,16777216);
	set_CheckImage(EXLISTLib.CheckStateEnum.Checked,33554432);
	(Columns.Add('Check') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	with Items do
	begin
		Add('Check 1');
		CellState[Add('Check 2'),TObject(0)] := 1;
	end;
end
149
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exHSThumb,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exHSThumbP,$2000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exHSThumbH,$3000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exVSThumb,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exVSThumbP,$2000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exVSThumbH,$3000000);
	ColumnAutoResize := False;
	ScrollBySingleLine := True;
	(Columns.Add('S') as EXLISTLib.Column).Width := 483;
	with Items do
	begin
		ItemHeight[Add('Item 1')] := 248;
	end;
	Items.Add('Item 2');
end
148
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exHSThumb,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exHSThumbP,$2000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exHSThumbH,$3000000);
	ColumnAutoResize := False;
	(Columns.Add('S') as EXLISTLib.Column).Width := 483;
end
147
I've seen that you can change the visual appearance for the scroll bar. How can I do that

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exSBtn,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exSBtnP,$2000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exSBtnH,$3000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exHSBack,$f0f0f0);
	set_Background(EXLISTLib.BackgroundPartEnum.exVSBack,$f0f0f0);
	set_Background(EXLISTLib.BackgroundPartEnum.exScrollSizeGrip,$f0f0f0);
	(Columns.Add('S') as EXLISTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E1') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E2') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E3') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E4') as EXLISTLib.Column).Width := 32;
	ColumnAutoResize := False;
	ScrollBars := EXLISTLib.ScrollBarsEnum.DisableBoth;
end
146
Is there any option to highligth the column from the cursor - point

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exCursorHoverColumn,$1000000);
	(Columns.Add('S') as EXLISTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E1') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E2') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E3') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E4') as EXLISTLib.Column).Width := 32;
end
145
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exSelBackColorFilter,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exSelForeColorFilter,$1414ff);
	(Columns.Add('Filter') as EXLISTLib.Column).DisplayFilterButton := True;
end
144
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exDateHeader,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exDateTodayUp,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exDateTodayDown,$2000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exDateScrollThumb,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exDateScrollRange,$e6e6e6);
	set_Background(EXLISTLib.BackgroundPartEnum.exDateSeparatorBar,$e6e6e6);
	set_Background(EXLISTLib.BackgroundPartEnum.exDateSelect,$1000000);
	with (Columns.Add('Date') as EXLISTLib.Column) do
	begin
		FilterType := EXLISTLib.FilterTypeEnum.exDate;
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
end
143
How do I change the visual aspect of the close button in the filter bar, using EBN

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exFooterFilterBarButton,$1000000);
	(Columns.Add('Filter') as EXLISTLib.Column).FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	ApplyFilter();
end
142
How do I change the visual aspect of buttons in the cell, using EBN

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exCellButtonUp,$1000000);
	set_Background(EXLISTLib.BackgroundPartEnum.exCellButtonDown,$2000000);
	SelForeColor := Color.FromArgb(0,0,0);
	ShowFocusRect := False;
	(Columns.Add('Column 1') as EXLISTLib.Column).Def[EXLISTLib.DefColumnEnum.exCellHasButton] := TObject(True);
	Items.Add('Button 1');
	Items.Add('Button 2');
	Columns.Add('Column 2');
end
141
How do I change the visual aspect of the drop down filter button, using EBN

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXLISTLib.BackgroundPartEnum.exHeaderFilterBarButton,$1000000);
	(Columns.Add('Filter') as EXLISTLib.Column).DisplayFilterButton := True;
end
140
How do I enable resizing the columns at runtime

with AxList1 do
begin
	ColumnsAllowSizing := True;
	MarkSearchColumn := False;
	HeaderVisible := False;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	DrawGridLines := EXLISTLib.GridLinesEnum.exVLines;
	with Items do
	begin
		Caption[Add('Item 1'),TObject(1)] := 'Sub Item 1';
	end;
	with Items do
	begin
		Caption[Add('Item 2'),TObject(1)] := 'Sub Item 2';
	end;
end
139
How can I sort by multiple columns

with AxList1 do
begin
	SingleSort := False;
	(Columns.Add('C1') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortAscending;
	(Columns.Add('C2') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortDescending;
	(Columns.Add('C3') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortAscending;
end
138
How can I add several columns to control's sort bar

with AxList1 do
begin
	SortBarVisible := True;
	SortBarColumnWidth := 48;
	(Columns.Add('C1') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortAscending;
	(Columns.Add('C2') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortDescending;
end
137
How can I change the width of the columns being displayed in the sort bar

with AxList1 do
begin
	SortBarVisible := True;
	SortBarColumnWidth := 48;
	(Columns.Add('C1') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortAscending;
	(Columns.Add('C2') as EXLISTLib.Column).SortOrder := EXLISTLib.SortOrderEnum.SortDescending;
end
136
How can I change the height of the sort bar's

with AxList1 do
begin
	SortBarVisible := True;
	SortBarHeight := 48;
end
135
How can I change the sort bar's foreground color

with AxList1 do
begin
	SortBarVisible := True;
	ForeColorSortBar := Color.FromArgb(255,0,0);
end
134
How can I change the visual appearance of the control's sort bar, using EBN files

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	SortBarVisible := True;
	(GetOcx() as EXLISTLib.List).BackColorSortBar := $1000000;
	(GetOcx() as EXLISTLib.List).BackColorSortBarCaption := $2000000;
	Appearance := EXLISTLib.AppearanceEnum.None2;
end
133
How can I change the sort bar's background color

with AxList1 do
begin
	SortBarVisible := True;
	BackColorSortBar := Color.FromArgb(255,0,0);
	BackColorSortBarCaption := Color.FromArgb(128,0,0);
end
132
How can I change the default caption being displayed in the control's sort bar

with AxList1 do
begin
	SortBarVisible := True;
	SortBarCaption := 'new caption';
end
131
How can I show the control's sort bar

with AxList1 do
begin
	SortBarVisible := True;
end
130
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

with AxList1 do
begin
	(GetOcx() as EXLISTLib.List).PictureLevelHeader := AxList1.ExecuteTemplate('loadpicture(`c:\exontrol\images\colorize.gif`)');
	PictureDisplayLevelHeader := EXLISTLib.PictureDisplayEnum.Stretch;
	(Columns.Add('S') as EXLISTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E1') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E2') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E3') as EXLISTLib.Column).Width := 32;
	(Columns.Add('E4') as EXLISTLib.Column).Width := 32;
end
129
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

with AxList1 do
begin
	(GetOcx() as EXLISTLib.List).PictureLevelHeader := AxList1.ExecuteTemplate('loadpicture(`c:\exontrol\images\colorize.gif`)');
	PictureDisplayLevelHeader := EXLISTLib.PictureDisplayEnum.MiddleRight;
	(Columns.Add('S') as EXLISTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E') as EXLISTLib.Column).Width := 32;
end
128
How can I display a picture on the control's header, when multiple levels are displayed

with AxList1 do
begin
	(GetOcx() as EXLISTLib.List).PictureLevelHeader := AxList1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	(Columns.Add('S') as EXLISTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXLISTLib.Column).LevelKey := TObject(1);
end
127
How can I change the header's background color, when multiple levels are displayed
with AxList1 do
begin
	BackColorLevelHeader := Color.FromArgb(250,0,0);
	(Columns.Add('S') as EXLISTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXLISTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXLISTLib.Column).LevelKey := TObject(1);
end
126
Can I programmatically scroll the control

with AxList1 do
begin
	DefaultItemHeight := 32;
	Columns.Add('Column');
	Items.Add(TObject(0));
	Items.Add(TObject(1));
	Items.Add(TObject(2));
	Items.Add(TObject(3));
	PutItems(GetItems(TObject(0)),Nil);
	PutItems(GetItems(TObject(0)),Nil);
	set_ScrollPos(True,1);
end
125
Do you have some function to load data from a safe array
with AxList1 do
begin
	Columns.Add('Column');
	Items.Add(TObject(0));
	PutItems(GetItems(TObject(0)),Nil);
end
124
Do you have some function to retrieve all items to a safe array
with AxList1 do
begin
	Columns.Add('Column');
	Items.Add(TObject(0));
	PutItems(GetItems(TObject(0)),Nil);
	Items.Add(TObject(1));
	PutItems(GetItems(TObject(0)),Nil);
	Items.Add(TObject(2));
	PutItems(GetItems(TObject(0)),Nil);
	Items.Add(TObject(3));
end
123
How can still display the selected items when the control loses the focus

with AxList1 do
begin
	HideSelection := False;
	Columns.Add('Column');
	with Items do
	begin
		Add('Item 3');
		Add('Item 1');
		SelectItem[Add('Item 2')] := True;
	end;
end
122
How can I hide a column

with AxList1 do
begin
	(Columns.Add('Hidden') as EXLISTLib.Column).Visible := False;
	Columns.Add('2');
	Columns.Add('3');
	Columns.Add('4');
	Columns.Add('5');
end
121
How can I ensure that a column is visible and fits the control's client area
with AxList1 do
begin
	ColumnAutoResize := False;
	(Columns.Add('1') as EXLISTLib.Column).Width := 128;
	(Columns.Add('2') as EXLISTLib.Column).Width := 128;
	(Columns.Add('3') as EXLISTLib.Column).Width := 128;
	(Columns.Add('4') as EXLISTLib.Column).Width := 128;
	(Columns.Add('5') as EXLISTLib.Column).Width := 128;
	Items.EnsureVisibleColumn('5');
end
120
I've seen that the width of the tooltip is variable. Can I make it larger

with AxList1 do
begin
	ToolTipWidth := 328;
	(Columns.Add('tootip') as EXLISTLib.Column).ToolTip := 'this is a tooltip that should be very very very very very very very long';
end
119
How do I disable showing the tooltip for all control
with AxList1 do
begin
	ToolTipDelay := 0;
	(Columns.Add('tootip') as EXLISTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
118
How do I let the tooltip being displayed longer

with AxList1 do
begin
	ToolTipPopDelay := 10000;
	(Columns.Add('tootip') as EXLISTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
117
How do I show the tooltip quicker
with AxList1 do
begin
	ToolTipDelay := 1;
	(Columns.Add('tootip') as EXLISTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
116
How do I change the caption being displayed in the control's filter bar

with AxList1 do
begin
	FilterBarCaption := 'your filter caption';
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
115
How do I search case sensitive, using your incremental search feature

with AxList1 do
begin
	AutoSearch := True;
	with Columns do
	begin
		(Add('exStartWith') as EXLISTLib.Column).AutoSearch := EXLISTLib.AutoSearchEnum.exStartWith;
		(Add('exContains') as EXLISTLib.Column).AutoSearch := EXLISTLib.AutoSearchEnum.exContains;
	end;
	with Items do
	begin
		Caption[Add('text'),TObject(1)] := 'another text';
	end;
	with Items do
	begin
		Caption[Add('text'),TObject(1)] := 'another text';
	end;
end
114
How do I disable the control
with AxList1 do
begin
	Enabled := False;
end
113
How do I enable the incremental search feature within a column

with AxList1 do
begin
	AutoSearch := True;
	with Columns do
	begin
		(Add('exStartWith') as EXLISTLib.Column).AutoSearch := EXLISTLib.AutoSearchEnum.exStartWith;
		(Add('exContains') as EXLISTLib.Column).AutoSearch := EXLISTLib.AutoSearchEnum.exContains;
	end;
	with Items do
	begin
		Caption[Add('text'),TObject(1)] := 'another text';
	end;
	with Items do
	begin
		Caption[Add('text'),TObject(1)] := 'another text';
	end;
end
112
How do I call your x-script language

with AxList1 do
begin
	with (ExecuteTemplate('Columns.Add(`Column`)') as EXLISTLib.Column) do
	begin
		HeaderStrikeOut := True;
		HeaderBold := True;
	end;
end
111
How do I call your x-script language

with AxList1 do
begin
	Template := 'Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`';
end
110
How do I show alternate rows in different background color

with AxList1 do
begin
	BackColorAlternate := Color.FromArgb(240,240,240);
	Columns.Add('Column');
	with Items do
	begin
		Add('Item 1');
		Add('Item 2');
		Add('Item 3');
		Add('Item 4');
		Add('Item 5');
	end;
end
109
How do I enlarge the drop down filter window

with AxList1 do
begin
	FilterBarDropDownHeight := -320;
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterBarDropDownWidth := -320;
	end;
	Items.Add('Item 1');
	Items.Add('Item 2');
end
108
How do I filter programatically the control

with AxList1 do
begin
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exPattern;
		Filter := 'Item*';
	end;
	Items.Add('Item 1');
	Items.Add('');
	Items.Add('Item 2');
	ApplyFilter();
end
107
How do I change the font of the control's filterbar

with AxList1 do
begin
	FilterBarFont.Size := 20;
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
106
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

with AxList1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	(GetOcx() as EXLISTLib.List).FilterBarBackColor := $1000000;
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
105
How do I change the background color of the control's filterbar

with AxList1 do
begin
	FilterBarBackColor := Color.FromArgb(240,240,240);
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
104
How do I change the foreground color of the control's filterbar

with AxList1 do
begin
	FilterBarForeColor := Color.FromArgb(255,0,0);
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
103
How do I change the height of the control's filterbar

with AxList1 do
begin
	FilterBarHeight := 32;
	with (Columns.Add('Column') as EXLISTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXLISTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
102
How do select only a portion of text when the control starts editing a cell

with AxList1 do
begin
	AllowEdit := True;
	SelStart := 1;
	SelLength := 1;
	Columns.Add('Column');
	Items.Add('Item 1');
	Items.Add('Item 2');
end
101
How do I change the header's foreground color

with AxList1 do
begin
	ForeColorHeader := Color.FromArgb(255,0,0);
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	Items.Add('Item 1');
end